home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyo (Python 2.3)
-
-
- def __import(modname):
- import win32api
- import imp
- import sys
- suffix = ''
- if win32api.__file__.find('_d') > 0:
- suffix = '_d'
-
- filename = '%s%d%d%s.dll' % (modname, sys.version_info[0], sys.version_info[1], suffix)
- h = win32api.LoadLibrary(filename)
- found = win32api.GetModuleFileName(h)
- mod = imp.load_module(modname, None, found, ('.dll', 'rb', imp.C_EXTENSION))
- globals().update(mod.__dict__)
- win32api.FreeLibrary(h)
-
- __import('pywintypes')
- del __import
-